//
// Created by jmdvirus on 2020/4/28 上午10:14.
// Copyright (c) 2020 benewtech All rights reserved.
//     
//     ******          *             *--*
//       ||            *             |
//       ||  *--*--*---*  * *-********--*
//   *  //   *  *  *   *\ / ||  |  |    |
//    **    *  *  *---* *  *   *--* *--*
//

#include <TestCameraShow.h>

CMLogPrint logPrint;

int main(int argc, char **args)
{
    CM_LOG_PRINT_INIT("fromcamera");

    QApplication app(argc, args);
#if 1
    QWidget w;
    w.setGeometry(0, 0, 480,320);
    TestCameraShow *show = new TestCameraShow(&w);
    int ret = show->init();
    if (ret < 0)
    {
        return -1;
    }
    show->show();
    w.show();
#endif

    app.exec();
//    show->deinit();

    return 0;
}
